package net.maku.propagate.convert;

import net.maku.propagate.entity.PropagateTrainingManagementAttachmentsEntity;
import net.maku.propagate.vo.PropagateTrainingManagementAttachmentsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 培训管理附件
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-16
*/
@Mapper
public interface PropagateTrainingManagementAttachmentsConvert {
    PropagateTrainingManagementAttachmentsConvert INSTANCE = Mappers.getMapper(PropagateTrainingManagementAttachmentsConvert.class);

    PropagateTrainingManagementAttachmentsEntity convert(PropagateTrainingManagementAttachmentsVO vo);

    PropagateTrainingManagementAttachmentsVO convert(PropagateTrainingManagementAttachmentsEntity entity);

    List<PropagateTrainingManagementAttachmentsVO> convertList(List<PropagateTrainingManagementAttachmentsEntity> list);

}